package com.jie.demo1.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jie.demo1.pojo.User;
import org.apache.ibatis.annotations.Mapper;

//mapper继承baseMapper,泛型为实体类对应类型，baseMapper完成了许多数据库操作
@Mapper
public interface UserMapper extends BaseMapper<User> {

    IPage pageList(IPage<User> userPage);
}



